﻿using System;
namespace Model
{
    /// <summary>
    /// 实体类Users 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Users
    {
        public Users()
        { }
        #region Model
        private int _id;
        private string _uid;
        private string _password;
        private string _email;
        private string _qq;
        private string _realname;
        private string _hobby;
        private string _sinaweibo;
        private string _isadmin;

        public string IsAdmin
        {
            get { return _isadmin; }
            set { _isadmin = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string Uid
        {
            set { _uid = value; }
            get { return _uid; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// QQ号码
        /// </summary>
        public string QQ
        {
            set { _qq = value; }
            get { return _qq; }
        }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName
        {
            set { _realname = value; }
            get { return _realname; }
        }

        /// <summary>
        /// 爱好
        /// </summary>
        public string Hobby
        {
            get { return _hobby; }
            set { _hobby = value; }
        }

        /// <summary>
        /// sina微薄
        /// </summary>
        public string Sinaweibo
        {
            get { return _sinaweibo; }
            set { _sinaweibo = value; }
        }

        #endregion Model
    }
}

